package com.conph.student.dao;


import com.conph.moring.core.annotation.Component;
import com.conph.student.model.StudentModel;

//上面注解的意思是：这个类的对象应该自动产生一个，并装进Bean工厂
@Component
public class StudentDao {

	public StudentDao() {
	}

	public StudentModel getStudentById(String stuId) {
		StudentModel student = new StudentModel();
		student.setStuId("12345678");
		student.setName("张三");
		student.setPassword("123");
		System.out.println("StudentDao.getStudentById()方法");
		
		return student;
	}
	
}
